from flask import Flask, render_template

app=Flask(__name__)

@app.route('/')
def index():
    data=[1,2,3,4,5,6]
    return render_template('test.html',
                           data=data)

if __name__ == '__main__':

    app.run()